home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Excel / Sheet.jar / sheet / SheetShow$7.class (.txt) < prev    next >
Encoding:
Java Class File  |  2001-09-03  |  1.7 KB  |  38 lines

  1. package sheet;
  2.  
  3. import javax.microedition.lcdui.Alert;
  4. import javax.microedition.lcdui.AlertType;
  5. import javax.microedition.lcdui.Image;
  6. import javax.microedition.lcdui.List;
  7. import javax.microedition.rms.RecordStore;
  8. import sheet.SheetShow.4;
  9. import sheet.SheetShow.5;
  10.  
  11. class SheetShow$7 implements Runnable {
  12.    private final List val$flist;
  13.    private final int val$idx;
  14.    private final SheetShow.5 this$2;
  15.  
  16.    SheetShow$7(SheetShow.5 var1, List var2, int var3) {
  17.       this.this$2 = var1;
  18.       this.val$flist = var2;
  19.       this.val$idx = var3;
  20.    }
  21.  
  22.    public void run() {
  23.       try {
  24.          RecordStore.deleteRecordStore(this.val$flist.getString(this.val$idx));
  25.          this.val$flist.delete(this.val$idx);
  26.          if (this.val$flist.size() > 0) {
  27.             SheetShow.access$000().setCurrent(this.val$flist);
  28.          } else {
  29.             SheetShow.access$000().setCurrent(5.access$900(this.this$2), 4.access$1000(5.access$600(this.this$2)));
  30.          }
  31.       } catch (Exception var3) {
  32.          Alert var2 = new Alert("File error", ((Throwable)var3).getMessage(), (Image)null, AlertType.ERROR);
  33.          SheetShow.access$000().setCurrent(var2, this.val$flist);
  34.       }
  35.  
  36.    }
  37. }
  38.